
package com.one.odf.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for PreviousResultDataType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="PreviousResultDataType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="ExtendedResults" type="{}extendedResultsType" minOccurs="0"/&gt;
 *         &lt;element name="Partial" type="{}previousPartialResultsDataType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Order" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
 *       &lt;attribute name="Opponent" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="WLT" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Result" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="OppResult" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="ResultType" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="IRM" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PreviousResultDataType", propOrder = {
    "extendedResults",
    "partial"
})
public class PreviousResultDataType {

    @XmlElement(name = "ExtendedResults")
    protected ExtendedResultsType extendedResults;
    @XmlElement(name = "Partial")
    protected List<PreviousPartialResultsDataType> partial;
    @XmlAttribute(name = "Unit")
    protected String unit;
    @XmlAttribute(name = "Order", required = true)
    protected int order;
    @XmlAttribute(name = "Opponent")
    protected String opponent;
    @XmlAttribute(name = "WLT")
    protected String wlt;
    @XmlAttribute(name = "Result")
    protected String result;
    @XmlAttribute(name = "OppResult")
    protected String oppResult;
    @XmlAttribute(name = "ResultType")
    protected String resultType;
    @XmlAttribute(name = "IRM")
    protected String irm;

    /**
     * Gets the value of the extendedResults property.
     * 
     * @return
     *     possible object is
     *     {@link ExtendedResultsType }
     *     
     */
    public ExtendedResultsType getExtendedResults() {
        return extendedResults;
    }

    /**
     * Sets the value of the extendedResults property.
     * 
     * @param value
     *     allowed object is
     *     {@link ExtendedResultsType }
     *     
     */
    public void setExtendedResults(ExtendedResultsType value) {
        this.extendedResults = value;
    }

    /**
     * Gets the value of the partial property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the partial property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getPartial().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link PreviousPartialResultsDataType }
     * 
     * 
     */
    public List<PreviousPartialResultsDataType> getPartial() {
        if (partial == null) {
            partial = new ArrayList<PreviousPartialResultsDataType>();
        }
        return this.partial;
    }

    /**
     * Gets the value of the unit property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUnit() {
        return unit;
    }

    /**
     * Sets the value of the unit property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUnit(String value) {
        this.unit = value;
    }

    /**
     * Gets the value of the order property.
     * 
     */
    public int getOrder() {
        return order;
    }

    /**
     * Sets the value of the order property.
     * 
     */
    public void setOrder(int value) {
        this.order = value;
    }

    /**
     * Gets the value of the opponent property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOpponent() {
        return opponent;
    }

    /**
     * Sets the value of the opponent property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOpponent(String value) {
        this.opponent = value;
    }

    /**
     * Gets the value of the wlt property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getWLT() {
        if (wlt == null) {
            return "";
        } else {
            return wlt;
        }
    }

    /**
     * Sets the value of the wlt property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setWLT(String value) {
        this.wlt = value;
    }

    /**
     * Gets the value of the result property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getResult() {
        if (result == null) {
            return "";
        } else {
            return result;
        }
    }

    /**
     * Sets the value of the result property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setResult(String value) {
        this.result = value;
    }

    /**
     * Gets the value of the oppResult property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOppResult() {
        if (oppResult == null) {
            return "";
        } else {
            return oppResult;
        }
    }

    /**
     * Sets the value of the oppResult property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOppResult(String value) {
        this.oppResult = value;
    }

    /**
     * Gets the value of the resultType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getResultType() {
        if (resultType == null) {
            return "";
        } else {
            return resultType;
        }
    }

    /**
     * Sets the value of the resultType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setResultType(String value) {
        this.resultType = value;
    }

    /**
     * Gets the value of the irm property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIRM() {
        if (irm == null) {
            return "";
        } else {
            return irm;
        }
    }

    /**
     * Sets the value of the irm property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIRM(String value) {
        this.irm = value;
    }

}
